
package net.qiqbframework.messaging.annotation;

import net.qiqbframework.common.QiqbException;


/**
 * MessageHandlerInvocationException is a runtime exception that wraps an exception thrown by an invoked message
 * handler.
 *
 */
public class MessageHandlerInvocationException extends QiqbException {


    /**
     * Initialize the MessageHandlerInvocationException using given {@code message} and {@code cause}.
     *
     * @param message A message describing the cause of the exception
     * @param cause   The exception thrown by the Event Handler
     */
    public MessageHandlerInvocationException(String message, Throwable cause) {
        super(message, cause);
    }
}
